package com.sofwin.yyb.service;


import com.sofwin.yyb.dto.MechanismDto;
import com.sofwin.yyb.entity.Mechanism;
import com.sofwin.yyb.entity.Course;

import java.util.List;
import java.util.Map;

public interface MechanismService {
    void addMerchant(Mechanism mechanism);

    Mechanism findByUserId(Integer userid);

    List<Course> findServiceList(Map<String, Object> map);

    List<MechanismDto> findAllMechanism(Map<String, Object> map);

    Integer mechanismCount(String search);
}
